* {
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    width: 100%;
    height: 40px;
}

input[type='text'] {
    border: none;
    outline: none;
}

.header-main {
    height: 100%;
    width: 800px;
    margin: 0 auto;
}

.header-main .header-title {
    height: 100%;
    color: #fff;
    line-height: 40px;
    font-size: 20px;
    float: left;
}

.header-main .header-add {
    float: right;
    height: 25px;
    width: 400px;
    margin-top: 5px;
    border: 1px solid #000;
    padding: 0 5px;
    border-radius: 2px;
    font-weight: lighter;
}

.content-main {
    width: 800px;
    margin: 0 auto;
}

.being-title,
.complete-title {
    height: 30px;
    line-height: 30px;
    margin: 30px 0;
    font-size: 20px;
    font-weight: lighter;
    border-bottom: 1px dotted #000;
}

.being-count,
.complete-count {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    margin-top: 5px;
    background-color: #eee;
    border-radius: 100%;
    float: right;
}

.being-content,
.complete-content {
    list-style: none;
}

.being-content li,
.complete-content li {
    background-color: #eee;
    height: 30px;
    margin-bottom: 10px;
    border-left: 3px solid #f40;
}

.complete-content li {
    background-color: #ddd;
    border-left: 3px solid #aaa;
    color: #999;
}

.being-content li input,
.complete-content li input {
    height: 16px;
    width: 16px;
    float: left;
    margin: 7px 5px;
    cursor: pointer;
}

.complete-content li input {
    background: #999;
}

.being-content li p,
.complete-content li p {
    display: inline;
    font-weight: lighter;
    line-height: 30px;
}

.being-content li a .icon,
.complete-content li a .icon {
    height: 20px;
    width: 20px;
    float: right;
    margin: 5px;
}

@media screen and (max-width:800px) {
    .header-main {
        width: 340px;
        margin: 0 auto;
    }
    .header-main .header-add {
        width: 180px;
    }
    .content-main {
        width: 340px;
    }
}